import { controller, get, post } from '../decorator/router'
import detail from '../controller/detail'

@controller('detail')
export class recController {
  @get('/')
  @get('/:id')
  async index(ctx, next) {
    await detail(ctx, next)
  }
}
